/*--------------------------------*- C++ -*----------------------------------*\
| =========                 |                                                 |
| \\      /  F ield         | OpenFOAM: The Open Source CFD Toolbox           |
|  \\    /   O peration     | Version:  2.1.0                                 |
|   \\  /    A nd           | Web:      www.OpenFOAM.org                      |
|    \\/     M anipulation  |                                                 |
\*---------------------------------------------------------------------------*/
FoamFile
{
    version     2.0;
    format      ascii;
    class       dictionary;
    object      blockMeshDict;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

convertToMeters 0.005; //values here are in half cm (r = 1)

vertices
(
    (0 -0.7 0) //0
    (0.7 0 0)  //1
    (0 0.7 0)  //2
    (-0.7 0 0) //3
    (0 -1 0)   //4
    (1 0 0)    //5
    (0 1 0)    //6
    (-1 0 0)   //7
    
    (0 -0.7 4) //0 8
    (0.7 0 4)  //1 9
    (0 0.7 4)  //2 10
    (-0.7 0 4) //3 11
    (0 -1 4)   //4 12
    (1 0 4)    //5 13
    (0 1 4)    //6 14
    (-1 0 4)   //7 15
);

blocks
(
    hex (0 1 2 3 8 9 10 11) (30 30 100) simpleGrading (1 1 1)
    hex (1 5 6 2 9 13 14 10) (10 30 100) simpleGrading (1 1 1)
    hex (0 4 5 1 8 12 13 9) (10 30 100) simpleGrading (1 1 1)
    hex (3 7 4 0 11 15 12 8) (10 30 100) simpleGrading (1 1 1)
    hex (2 6 7 3 10 14 15 11) (10 30 100) simpleGrading (1 1 1)
);

edges
(
    arc 6 5 (0.70710678 0.70710678 0)
    arc 13 14 (0.70710678 0.70710678 4)
    
    arc 7 6 (-0.70710678 0.70710678 0)
    arc 15 14 (-0.70710678 0.70710678 4)
    
    arc 4 7 (-0.70710678 -0.70710678 0)
    arc 12 15 (-0.70710678 -0.70710678 4)
    
    arc 5 4 (0.70710678 -0.70710678 0)
    arc 13 12 (0.70710678 -0.70710678 4)
    
    arc 1 2 (.42426 .42426 0)
    arc 9 10 (.42426 .42426 4)
    
    arc 2 3 (-.42426 .42426 0)
    arc 10 11 (-.42426 .42426 4)
    
    arc 3 0 (-.42426 -.42426 0)
    arc 11 8 (-.42426 -.42426 4)
    
    arc 0 1 (.42426 -.42426 0)
    arc 8 9 (.42426 -.42426 4)
);

boundary
(
    atmosphere
    {
        type patch;
        faces
        (
            (8 9 10 11)
            (8 12 13 9)
            (9 13 14 10)
            (11 15 12 8)
            (10 14 15 11)
        );
    }
    
    walls
    {
        type wall;
        faces
        (
            (13 5 6 14)
            (12 4 5 13)
            (15 7 4 12)
            (14 6 7 15)
            (1 0 3 2)
            (5 1 2 6)
            (4 0 1 5)
            (7 3 0 4)
            (6 2 3 7)
        );
    }
);

mergePatchPairs
(
);

// ************************************************************************* //
